import java.util.Random;
import java.util.Scanner;

public class cai {
    public static void main(String[] args) {
        int count = 0;
        Random rd = new Random();
        Scanner sc = new Scanner(System.in);
        System.out.println("请猜（0~100）");
        while (count >= 0) {
            int answer = rd.nextInt(101);
            int x = sc.nextInt();

            if (x == answer) {
                if (count == 0) {
                    System.out.println("你真厉害，一次就猜对了！");
                } else if (count>1 && count < 5) {
                    System.out.println("你很聪明，猜对了！");

                } else if (count>=5){
                    System.out.println("笨蛋，你猜了那么多次！");
                }
                break;
            }else if (x<answer){
                System.out.println("小啦！");
            }else if (x>answer){
                System.out.println("大啦！");
            }
            count++;
        }
        System.out.println("程序结束！");
    }
}